
import { GameConfig } from "./GameConfig";
import { RoomConfig } from "./RoomConfig";

export class RoomConfig_cangxian_mj extends RoomConfig {

    public gameType: number = GameConfig.Game_Type.cangxian_mj
    public fangpao_type: number = 0; //
    public static fangpao_type = {
        dianpao_sanjiashu: 0, //点炮3家输
        dianpao_shu: 1, //谁点炮谁输
        dianpao_shu_all: 2, //点炮包赔
    }

    public static fangpao_type_name: Array<string> = [
        "点炮3家输", "谁点炮谁输", "点炮包赔"
    ]

    //人数配置
    public static renshuConfig: Array<number> = [
        2, 3, 4
    ]

    //局数配置
    public static jushuConfig: Array<number> = [
        8, 12, 16
    ]

    //局数花费钻石配置
    public static fangfeiConfig: Array<Array<number>> = [
        [20, 30, 40],
        [30, 45, 60],
        [40, 60, 80],
    ]

    //底分配置
    public static difenConfig: Array<number> = [
        0.5, 1, 2, 3, 4, 5, 10
    ]

    public zuopao: number; //座跑
    // public static zuopaoConfig: Array<number> = [
    //     0, 2, 5, 10
    // ]
    public static zuopaoName: Array<string> = [
        "无座跑", "上庄2", "上庄5", "上庄10"
    ]
    public zuopao_man: number = 0; //是否强制跑满

    public zui: number = 0;//嘴
    public static zuiName: Array<string> = [
        "无嘴", "全嘴"
    ]
    public zimo: number = 0

}